/**
 * v-hasBg 操作背景图片
 * Copyright (c) 2019 ruoyi
 */

export default {
  inserted(el, binding, vnode) {
    const { value } = binding
    el.style.backgroundImage = `url(${value})`
  }
}
